package com.exampleprovider.provider;

import com.examplecommon.service.UserService;
import com.yurpceasy.registry.LocalRegistry;
import com.yurpceasy.server.HttpServer;
import com.yurpceasy.server.VertxHttpServer;

public class EasyProviderExample {
    public static void main(String[] args) {
        // 注册服务
        LocalRegistry.register(UserService.class.getName(), UserServiceImpl.class);

        // 提供服务
        HttpServer httpServer = new VertxHttpServer();
        httpServer.doStart(8080);

    }
}
